package com.briup.pts.mapper;

import com.briup.pts.domain.bean.QuarantineRegistration;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface QuarantineRegistrationMapper {
    /**
     * 根据条件查询质检报告
     * @return 符合条件的质检报告集合
     */
    List<QuarantineRegistration> queryByConditional(@Param("bQualified") String bQualified,
                                                    @Param("grMechanism") String grMechanism);

    void addQr(QuarantineRegistration qr);

    void deleteBatch(@Param("ids") List<Integer> ids);
}
